public class Shark extends Animal implements Swim{
    public Shark() {
    }
    @Override
    public void eat() {
        System.out.println("鲨鱼进食");
    }
    @Override
    public void swim() {
        System.out.println("鲨鱼游泳");
    }
}
